package com.koron.common.web.personalizedconfiguration.mapper;

import com.koron.common.web.personalizedconfiguration.bean.PersonalizedConfiguration;
import com.koron.common.web.personalizedconfiguration.bean.PersonalizedConfigurationQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PersonalizedConfigurationMapper {

    PersonalizedConfiguration getById(@Param("id") String id);

    void insert(PersonalizedConfiguration personalizedConfiguration);

    void update(PersonalizedConfiguration personalizedConfiguration);

    List<PersonalizedConfiguration> getList(PersonalizedConfigurationQuery personalizedConfigurationQuery);

    int delById(@Param("id") String id);

    int getByUserId(@Param("userId") String userId);
}
